package com.hello.sky.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hello.sky.annotation.AutoFill;
import com.hello.sky.enmu.OperationType;
import com.hello.sky.model.dto.DataOverViewQueryDTO;
import com.hello.sky.model.entity.OrderDetail;
import com.hello.sky.model.vo.SalesTop10ReportVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 订单明细表 Mapper 接口
 * </p>
 *
 * @author D
 */
@Mapper
public interface OrderDetailMapper extends BaseMapper<OrderDetail> {

    @AutoFill(OperationType.INSERT)
    void insertBatch(@Param("orderDetailList") List<OrderDetail> orderDetailList);

}
